import { useSelector } from 'react-redux'
import { pageInfoType } from '@/types'

const useGetPageInfo = () => {
  const pageInfo = useSelector((state: any) => state.pageInfo) as pageInfoType
  return pageInfo
}

export default useGetPageInfo
